package com.jswlw.service.biz.log.impl;

import com.github.pagehelper.Page;
import com.jswlw.dao.biz.log.LogHeartMapper;
import com.jswlw.entity.biz.log.LogHeart;
import com.jswlw.service.biz.log.LogHeartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@Service
public class LogHeartServiceImpl implements LogHeartService {

    @Autowired
    LogHeartMapper mapper;

    @Override
    public void add(LogHeart logHeart) {
        mapper.insertSelective(logHeart);
    }

    @Override
    public List<LogHeart> queryList(LogHeart filter) {
        return null;
    }

    @Override
    public Page<LogHeart> queryPage(LogHeart filter) {
        return null;
    }

    @Override
    public LogHeart findLastHeart(String imei) {
        return mapper.findLastHeart(imei);
    }
}
